﻿using DevExpress.XtraBars;
using EyFramework.Library;
using System;
using System.Collections.Generic;

namespace Ncov2019
{
    public partial class FrmNcovLabCollect : FrmDevBase
    {
        private List<GridColumnInfo> columnInfos = new List<GridColumnInfo>();

        public FrmNcovLabCollect()
        {
            InitializeComponent();
            InitForm();
        }

        private void InitForm()
        {
            //scUser.InitUserSelect();
        }

        private void FrmNcovLabCollect_Load(object sender, EventArgs e)
        {
        }

        private void btnQuery_Click(object sender, EventArgs e)
        {
        }

        private void gridToolBar1_ToolBarClick(object sender, ItemClickEventArgs e)
        {
            if (e.Item.Id == 1)
            {
                //新增
                //FrmMenuEdit frmMenuEdit = new FrmMenuEdit();
                //frmMenuEdit.ID = "1";
                //frmMenuEdit.IDList = new List<String>() { "1", "2", "3" };
                //frmMenuEdit.ShowDialog();
                FrmLabPackage frmLabPackage = new FrmLabPackage();
                frmLabPackage.ShowDialog();
            }
            else if (e.Item.Id == 1)
            {
                //FrmMenuEdit frmMenuEdit = new FrmMenuEdit();
                //frmMenuEdit.ID = "1";
                //frmMenuEdit.IDList = new List<String>() { "1", "2", "3" };
                //frmMenuEdit.ShowDialog();
            }
        }
    }
}